using System.Text;

namespace EmailConnection.Models
{
    public class Email
    {
        public int id { get; set; } = 0;

        public string from { get; set; } = "";

        public string to { get; set; } = "";

        public string date { get; set; } = "";

        public string subject { get; set; } = "";

        public string textBody { get; set; } = "";

        public string htmlBody { get; set; } = "";

        public Email(int id)
        {
            this.id = id;
        }
    }
}